Notebook: Remove null check after dereference
authorDaniel Boles <dboles@src.gnome.org>
Tue, 1 Aug 2017 18:45:57 +0000 (19:45 +0100)
committerDaniel Boles <dboles@src.gnome.org>
Tue, 1 Aug 2017 19:15:14 +0000 (20:15 +0100)
commitfc619706b7d606fd627b5502b48a7e920e922ca3
treed852195ca1a1aec3ee305bda2e02bfcea1807a3f
parent881d7c6442e9ad711ea29db8b7d0f09501c73b47
Notebook: Remove null check after dereference

This function clearly assumes the parameter children cannot be NULL, and
the call sites seem to perform enough checks to confirm this.

CID 1388869 (#1 of 1): Dereference before null check (REVERSE_INULL)
check_after_deref: Null-checking children suggests that it may be null,
but it has already been dereferenced on all paths leading to the check.
gtk/gtknotebook.c